package com.gxa.modules.app.hospital.health.notice.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gxa.modules.app.hospital.health.notice.mapper.NoticeMapper;
import com.gxa.modules.app.hospital.health.notice.service.NoticeService;
import com.gxa.modules.model.dto.NoticeDto;
import com.gxa.modules.model.entity.hospital.Notice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 预约须知表 服务实现类
 * </p>
 *
 * @author lst
 * @since 2022-11-14 09:05:41
 */
@Service
public class NoticeServiceImpl extends ServiceImpl<NoticeMapper, Notice> implements NoticeService {

    @Autowired
    private NoticeMapper noticeMapper;


    @Override
    public NoticeDto queryByNotice(Integer id) {
        return noticeMapper.queryByNotice(id);
    }


}
